package com.acme.domain.bank;

import com.acme.domain.account.Account;
import com.acme.domain.bank.listeners.Listener;
import com.acme.domain.client.Client;

/**
 * @author Gregory Sobko
 */
public interface BankService {

    void addListener(Listener listener);

    void addClient(Client client);

    void addClientWithAccounts(Client client, Account... accounts);

    void saveBank(String path);

    //i think this should rewrite current instance of bank
    //as we sync with WiseDataBase.
    //if the thing is important its in DataBase
    void readBank(String path);
}
